﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="findclassroom.aspx.cs" Inherits="adminstrator_findclassroom" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div style="margin:0 auto;width:800px;height:400px; text-align:center;background:#9fd0f5">
        <table border="1" style="background:#f8eee1">
            <tr style="width:800px;height:40px">
                <td style="width:300px"><asp:Label runat="server" ID="label1" Text="选择查询字段"></asp:Label></td>
                <td style="width:200px"><asp:DropDownList runat="server" ID="DropDownList1" Width="120px" Font-Size="20px">
                    <asp:ListItem>教室编号</asp:ListItem>
                    <asp:ListItem>时间</asp:ListItem>
                    <asp:ListItem>使用开始时间</asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td style="width:300px"><asp:TextBox runat="server" ID="TextBox1" Width="250px" Font-Size="20px" MaxLength="10"></asp:TextBox></td>
            </tr>
            <tr style="text-align:center;height:50px">
                <td colspan="10">
                    <asp:Button runat="server" ID="ButtonOK" Text="确定" Font-Size="20px" OnClick="ButtonOK_Click" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:Button runat="server" ID="ButtonReset" Text="重置" Font-Size="20px" OnClick="ButtonReset_Click" />
                </td>
            </tr>
        </table>
        <br />
        <asp:GridView runat="server" ID="Gridview1" AllowCustomPaging="true" PageSize="8" AutoGenerateColumns="false" OnPageIndexChanging="Gridview1_PageIndexChanging" Width="800px">
            <Columns>
                <asp:BoundField DataField="rNo" HeaderText="教室编号" ItemStyle-Width="80px" />
                <asp:BoundField DataField="sks" HeaderText="使用时间" ItemStyle-Width="100px" />
                <asp:BoundField DataField="srs" HeaderText="教室容纳人数" ItemStyle-Width="100px" />
                <asp:BoundField DataField="sclass" HeaderText="使用班级" ItemStyle-Width="100px" />
                <asp:BoundField DataField="sjsyt" HeaderText="教室用途" ItemStyle-Width="90px" />
                <asp:BoundField DataField="rDate" HeaderText="日期" ItemStyle-Width="140px" />
            </Columns>
            <HeaderStyle BackColor="#d3f1fa" Height="50px" Font-Size="20px" />
        </asp:GridView>
        <br />
        <asp:Label ID="label2" runat="server"></asp:Label>
    </div>
    </form>
</body>
</html>
